#!/bin/sh

chmod 777 src/mkPro.sh
chmod 777 src/project.pl

if [ ! -x /usr/src/project ]; then
	mkdir /usr/src/project
fi

cp -f src/mkPro.sh /usr/bin
cp -f src/project.pl /usr/src/project
cp -f src/Automake.pdf /usr/src/project
cp -f src/automake-sample.tar /usr/src/project
cp -f src/doxygen_Manual.txt /usr/src/project
cp -f src/Doxygen_sam.h /usr/src/project
cp -f src/gdb_Manual.txt /usr/src/project
cp -f src/Makefile_Manual /usr/src/project
cp -f src/User-Manual.txt /usr/src/project
cp -f src/High-Level_System_Design.doc /usr/src/project
cp -f src/STestCase.doc /usr/src/project
cp -f src/STestRe.doc /usr/src/project
cp -f src/UserManual.doc /usr/src/project
cp -f src/fileTree.txt /usr/src/project
cp -f src/Makefile.am.pro /usr/src/project/
cp -f src/Makefile.am.top /usr/src/project/
cp -f src/Makefile.am.lib /usr/src/project/

echo "Installed succussfully! Please use makePro.sh -h to get help\n"
